package com.skt.manage.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.skt.common.annotation.Excel;
import com.skt.common.core.domain.BaseEntity;

/**
 * 患者病历对象 medicalrecords
 * 
 * @author ruoyi
 * @date 2025-02-22
 */
public class Medicalrecords extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 病历标识 */
    private Long recordId;

    /** patient_id */
    private Long patientId;

    /** doctor_id */
    private Long doctorId;

    /** 诊断结果 */
    @Excel(name = "诊断结果")
    private String diagnosis;

    /** 治疗方案 */
    @Excel(name = "治疗方案")
    private String treatmentPlan;

    /** 病历记录 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "病历记录", width = 30, dateFormat = "yyyy-MM-dd")
    private Date recordDate;

    /** 病历类型 */
    @Excel(name = "病历类型")
    private String recordType;

    /** 病历状态 */
    @Excel(name = "病历状态")
    private String recordStatus;

    /** 患者症状描述 */
    @Excel(name = "患者症状描述")
    private String symptoms;

    /** 备注 */
    @Excel(name = "备注")
    private String notes;

    /** 医生信息管理信息 */
    private List<Doctors> doctorsList;

    public void setRecordId(Long recordId) 
    {
        this.recordId = recordId;
    }

    public Long getRecordId() 
    {
        return recordId;
    }
    public void setPatientId(Long patientId) 
    {
        this.patientId = patientId;
    }

    public Long getPatientId() 
    {
        return patientId;
    }
    public void setDoctorId(Long doctorId) 
    {
        this.doctorId = doctorId;
    }

    public Long getDoctorId() 
    {
        return doctorId;
    }
    public void setDiagnosis(String diagnosis) 
    {
        this.diagnosis = diagnosis;
    }

    public String getDiagnosis() 
    {
        return diagnosis;
    }
    public void setTreatmentPlan(String treatmentPlan) 
    {
        this.treatmentPlan = treatmentPlan;
    }

    public String getTreatmentPlan() 
    {
        return treatmentPlan;
    }
    public void setRecordDate(Date recordDate) 
    {
        this.recordDate = recordDate;
    }

    public Date getRecordDate() 
    {
        return recordDate;
    }
    public void setRecordType(String recordType) 
    {
        this.recordType = recordType;
    }

    public String getRecordType() 
    {
        return recordType;
    }
    public void setRecordStatus(String recordStatus) 
    {
        this.recordStatus = recordStatus;
    }

    public String getRecordStatus() 
    {
        return recordStatus;
    }
    public void setSymptoms(String symptoms) 
    {
        this.symptoms = symptoms;
    }

    public String getSymptoms() 
    {
        return symptoms;
    }
    public void setNotes(String notes) 
    {
        this.notes = notes;
    }

    public String getNotes() 
    {
        return notes;
    }

    public List<Doctors> getDoctorsList()
    {
        return doctorsList;
    }

    public void setDoctorsList(List<Doctors> doctorsList)
    {
        this.doctorsList = doctorsList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recordId", getRecordId())
            .append("patientId", getPatientId())
            .append("doctorId", getDoctorId())
            .append("diagnosis", getDiagnosis())
            .append("treatmentPlan", getTreatmentPlan())
            .append("recordDate", getRecordDate())
            .append("recordType", getRecordType())
            .append("recordStatus", getRecordStatus())
            .append("symptoms", getSymptoms())
            .append("notes", getNotes())
            .append("doctorsList", getDoctorsList())
            .toString();
    }
}
